﻿namespace Prometheus.Binding.Core
{
    /// <summary>
    /// Update binding mode
    /// </summary>
    public enum proBindingTriggerMode
    {
        /// <summary>
        /// Use default to allow registered action been processed. Use proBindingBase.RegisterControlForBindingInitialization method to register custom controls
        /// </summary>
        Default = 0,
        OnKeyUpAndLostFocus = 1,
        OnFocusChanged = 2,
        /// <summary>
        /// In case of OnUpdateCall binding will be processed only on proForm.UpdateTarget or proForm.Validate
        /// </summary>
        OnUpdateCall = 3,
    }
}